import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router";
import Setting from "../views/setting/index.vue";
import Search from "../views/search/index.vue";

const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    name: "Setting",
    component: Setting,
  },
  {
    path: "/Search",
    component: Search,
  },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes,
});

export default router;
